import { createApp } from 'vue'
import App from './App.vue';
import ArcoVue from '@arco-design/web-vue';
import '@arco-design/web-vue/dist/arco.css';
import router from './router/index.js';
import {createPinia} from 'pinia'

const pinia = createPinia() //状态机（银行）

const app = createApp(App);
app.use(pinia)  //注入状态机
app.use(router)  //4. 注入路由
app.use(ArcoVue, {
  // 用于改变使用组件时的前缀名称
  componentPrefix: 'arco'
});
app.mount('#app');
